import { get, post } from '@/utils/request'
const BASE_URL = window.baseUrl.asset
// 分页查询
export function queryPageList(query) {
  return post(BASE_URL + '/assetsStorageMedium/list', query)
}
// 新增
export function addDatas(query) {
  return post(BASE_URL + '/assetsStorageMedium/add', query)
}
//   编辑

export function editDatas(query) {
  return post(BASE_URL + '/assetsStorageMedium/edit', query)
}
//   批量删除
export function deleteDatas(ids) {
  return get(BASE_URL + '/assetsStorageMedium/deleteBatch', { ids })
}
// 详情
export function queryById(id) {
  return get(BASE_URL + '/assetsStorageMedium/queryById', { id })
}
// 字典集合
export function listAll() {
  return get(BASE_URL + '/dictItems/listAll')
}
